import Vue from 'vue';
import ElementUI from 'element-ui';

import App from './App.vue';
import router from './router/router';
import store from './stores';
import service from './service/export';
import components from './components';
import modal from './modals';
import bean from './beans';

import 'element-ui/lib/theme-chalk/index.css';
import './assets/scss/main.scss';

Vue.config.productionTip = false;
Vue.prototype._bean = bean;
Vue.use(ElementUI, { size: 'small' });
components(Vue);
modal(Vue);
service(Vue);

new Vue({
  router,
  store,
  render: (h: any) => h(App),
}).$mount('#app');
